/**
 * 表格路由
 */
export const routes: Menu.MenuOptions = {
  path: "/proTable",
  name: "proTable",
  redirect: "/proTable/useProTable",
  matcher: "/proTable",
  meta: {
    isHide: false,
    isFull: false,
    isAffix: false,
    isKeepAlive: true
  },
  children: [
    {
      path: "/proTable/useProTable",
      name: "useProTable",
      component: "/proTable/useProTable/index",
      matcher: "/proTable/useProTable",
      meta: {
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
      },
      children: [
        {
          path: "/proTable/useProTable/detail/:id",
          name: "useProTableDetail",
          component: "/proTable/useProTable/detail",
          matcher: "/proTable/useProTable/detail",
          meta: {
            activeMenu: "/proTable/useProTable",
            isHide: true,
            isFull: false,
            isAffix: false,
            isKeepAlive: true
          }
        }
      ]
    },
    {
      path: "/proTable/useTreeFilter",
      name: "useTreeFilter",
      component: "/proTable/useTreeFilter/index",
      meta: {
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
      },
      matcher: "/proTable/useTreeFilter"
    },
    {
      path: "/proTable/useTreeFilter/detail/:id",
      name: "useTreeFilterDetail",
      component: "/proTable/useTreeFilter/detail",
      meta: {
        activeMenu: "/proTable/useTreeFilter",
        isHide: true,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
      },
      matcher: "/proTable/useTreeFilter/detail"
    },
    {
      path: "/proTable/useSelectFilter",
      name: "useSelectFilter",
      component: "/proTable/useSelectFilter/index",
      meta: {
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
      },
      matcher: "/proTable/useSelectFilter"
    },
    {
      path: "/proTable/treeProTable",
      name: "treeProTable",
      component: "/proTable/treeProTable/index",
      meta: {
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
      },
      matcher: "/proTable/treeProTable"
    },
    {
      path: "/proTable/complexProTable",
      name: "complexProTable",
      component: "/proTable/complexProTable/index",
      meta: {
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
      },
      matcher: "/proTable/complexProTable"
    },
    {
      path: "/proTable/document",
      name: "proTableDocument",
      component: "/proTable/document/index",
      meta: {
        isLink: "https://juejin.cn/post/7166068828202336263/#heading-14",
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
      },
      matcher: "/proTable/document"
    }
  ]
};
